package org.openkoala.koala.deploy.pojo;

import java.util.List;

import org.openkoala.koala.deploy.webservice.pojo.WebServiceType;

public class MethodTree implements Itree {
	
	private String name;

	private boolean check;
	
	private WebServiceType type;
	
	private Object data;
	
	public MethodTree(String method) {
		this.name = method;
		this.check = true;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public void setName(String name) {
		this.name  = name;
	}

	@Override
	public void setChildren(List Children) {
	}

	@Override
	public List getChildren() {
		return null;
	}

	@Override
	public boolean isCheck() {
		return check;
	}

	@Override
	public void setCheck(boolean check) {
		this.check = check;
	}

	public WebServiceType getType() {
		return type;
	}

	public void setType(WebServiceType type) {
		this.type = type;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
}
